import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: [
    {
      path: '/student',
      component: () => import('../views/StudentView.vue'),
      name: 'Student',
      meta: { title: '学生' },
    },
    {
      path: '/graduate',
      component: () => import('../views/GraduateView.vue'),
      name: 'Graduate',
    },
  ],
})

export default router
